OBJS:=amf3_input.o amf3_output.o amf_object.o amf_tinyxml.o traits_info.o
CPPINCLUDE:=../
CPPFLAGS=-g -Wall -I$(CPPINCLUDE)
LIB:=../lib
CC=g++

.PHONY: all tinyxml clean
all: tinyxml $(OBJS)

tinyxml:
	cd ../tinyxml && $(MAKE)

%.o: %.cpp
	$(CC) $(CPPFLAGS) -c $< -D__linux_ -DTIXML_USE_STL

clean:
	cd ../tinyxml && $(MAKE) clean
	-rm *.o